<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: LV
  Date: 2016/7/19
  Time: 18:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <style>
        .i_cart s, .ss{ font-size:0.35rem; top:0.15rem; right:0.65rem; width:0.70rem; height:0.70rem; line-height:0.75rem; display:block; background:#ff1930; color:#FFF; text-align:center; -moz-border-radius:100%; -webkit-border-radius:100%; border-radius:100%;}
    </style>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
    <!-- 全屏 -->
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <!-- 上方栏显示 -->
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <!-- 不自动识别号码 -->
    <meta name="format-detection" content="telephone=no">
    <link href="${ctx}/assets/public_skin/css/reset.css" rel="stylesheet">
    <link href="${ctx}/assets/public_skin/css/shop_style.css" rel="stylesheet">
    <script src="${ctx}/assets/public_skin/js/jquery-1.11.1.min.js" type="text/javascript"></script>
    <script src="${ctx}/assets/public_skin/js/shop.common.js" type="text/javascript"></script>
    <script src="${ctx}/assets/public_skin/js/jquery.touchSlider.js "type="text/javascript" ></script>
    <title>卖家首页</title>
</head>
<body>
<%--<header>--%>
    <%--<h1 class="new_logo">乐享数码的微店</h1>--%>
<%--</header>--%>
<div class="viewports">
    <article>
        <div class="member_info">
            <a href="${ctx}/user/data">
            <div class="photo_thg ptb20">
                <div class="layout-box p20">
                    <div class="ith_img usernane_img140 r100 mr25">
                        <span class="bg_span" style="background-image:url(${shop.shopLogo});"></span>
                    </div>
                    <div class="box-col">
                        <div class="fs32 cf mt15">${shop.shopName}</div>
                        <div class="ca mt10">推荐人：财源广进</div>
                        <div class="ca mt10">会员号：156712</div>
                    </div>
                    <div class="right_arrow"><i class="mt30"></i></div>
                </div>
            </div>
            </a>
            <a href="${ctx}/user/account_details">
            <div class="num_value layout-box tac c-ffaa3b ptb20">
                <div class="box-col">${user.accountBalance}<p class="cf">我的余额</p></div>
                <div class="box-col">${user.commissionBalance}<p class="cf">佣金收入</p></div>
                <div class="box-col">${user.integralBalance}<p class="cf">我的积分</p></div>
            </div>
            </a>
        </div>
        <ul class="list_item">
            <li class="odr_b c3 plr20">
                我的订单<span class="r"><a class="c9" href="${ctx}/sellerOrder/getAllOrders">查看全部订单<i class="ico-30 ico_arrow" style="margin-top:-0.25rem;"></i></a></span>
            </li>
            <li class="nav_class pt20">
                <div class="layout-box lh1-5">
                    <a class="box-col" href="${ctx}/sellerOrder/getAllOrderByStatus?status=0"><i class="ico-60 ico_pay ir"><span class="ss" style="top:-0.15rem; right:-0.15rem;">${noPayment}</span></i><div>待付款</div></a>
                    <a class="box-col" href="${ctx}/sellerOrder/getAllOrderByStatus?status=1"><i class="ico-60 ico_tran"><span class="ss" style="top:-0.15rem; right:-0.15rem;">${havePayment}</span></i><div>待发货</div></a>
                    <a class="box-col" href="${ctx}/sellerRefundOrder/getAllRefundOrders"><i class="ico-60 ico_service"></i><div>退款管理</div></a>
                </div>
            </li>
            <li class="odr_b odr_t c3 plr20 mt20">
                <div class="layout-box">
                    <div class="box-col"><a href="${ctx}/product/productManage">商品管理</a></div>
                    <div class="box-col"><span class="fs24 c9 pl10"><a href="${ctx}/product/getProductByStatus?status=1">销售中</a></span></div>
                    <div class="box-col"><span class="fs24 c9 pl10"><a href="${ctx}/product/getProductByStatus?status=0">已下架</a></span></div>
                </div>
            </li>
            <li class="odr_b odr_t c3 p20 mt20">
                <a href="${ctx}/visitors_statistics">
                <div class="layout-box lh1-5">
                    <div class="box-col lh1">店铺统计</div>
                    <div class="box-col">726人<p class="fs24 c9">昨日访客</p></div>
                    <div class="box-col">91单<p class="fs24 c9">昨日订单</p></div>
                    <div class="box-col">91次<p class="fs24 c9">昨日分享</p></div>
                </div>
                    </a>
            </li>
        </ul>
    </article>
    <br>
    <br>
    <br>
    <br>
    <footer class="footer tac mt10 ptb20">
        <div class="layout-box hgt_70">
            <c:if test="${shopByUserIdentity==1}">
                <a href="${ctx}/wx/shop" class="box-col"><i class="kaitong"></i>开通微店</a>
            </c:if>
            <c:if test="${userAgentByUserIdentity==2}">
                <a href="${ctx}/user/agent_application" class="box-col"><i class="dailishang"></i>成为代理商</a>
            </c:if>
        </div>
        <p class="ca pt10">2008-2016@联城国际提供微店技术服务</p>
    </footer>
</div>
</body>
</html>